package com.tongqin.distributed.entity;

import org.springframework.stereotype.Component;

/**
 * @author yuantongqin
 * @date 2018/7/27 下午5:31
 */
@Component
public class User {

    private int id;
    private String name ="张三";

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
